<?php
// +----------------------------------------------------------------------
// | Description: 1
// +----------------------------------------------------------------------
// | Author: orchief
// +----------------------------------------------------------------------
// | Date: 2018-01-24 15:37:11
// +----------------------------------------------------------------------

namespace app\client\validate;

use think\Validate;

/**
 * 
 */
class ShopGoodsProducts extends Validate
{
    protected $rule = array(
        'MarketPrice'        => 'require',
        'Unit'        => 'require',
        'ProductName'        => 'require',
        'ProductCode'        => 'require',
        'ShortDescription'        => 'require',
        'MobbileDescription'        => 'require',
        'Title'        => 'require',
        'Description'        => 'require',
    );
    protected $message = array(
        'MarketPrice.require'    => '请输入市场价格',
        'Unit.require'    => '请输入计量单位',
        'ProductName.require'    => '请输入商品名称',
        'ProductCode.require'    => '请输入商品货号',
        'ShortDescription.require'    => '请输入简短描述',
        'MobbileDescription.require'    => '请输入移动端描述',
        'Title.require'    => '请输入详情页标题',
        'Description.require'    => '请输入商品详细描述',
    );
    protected $scene = [

    ];
}